package impl;


public class EntityRefImpl implements EntityRef {

  private static final long serialVersionUID = 3786174379034488447L;

  protected final RemoteAgent entity;
  private final String id;

  public EntityRefImpl(RemoteAgent entity, String id) {
    this.entity = entity;
    this.id = id;
  }

  @Override
  public String toString() {
    return id;
  }
}

